package com.ljz.mapper;

import com.ljz.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> getUsersLikeName(String name);
    List<User> fiandAll();
    int addUser(User user);
    User findById(int id);
    int updateUser(User user);
    int deleteById(int id);
}
